<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	
		
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

	<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<base href="<%=basePath%>">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>校园管理</title>
		<%@ include file="../com.jsp"%>

	</head>
	<body>
		<div class="alert alert-info">
			维修订单指派
		</div>
		<form action="biotech_pai.action" method="post"
			enctype="multipart/form-data">
			<input name="biotech.id" value="${biotech.id }" type="hidden" />
			<table
				class="table table-striped table-bordered table-condensed">
				<thead>
					<tr>
						<td colspan="4">
							<b>维修订单指派 </b>
						</td>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>
							维修订单
						</td>
						<td colspan="3">
						${biotech.title }
						</td>
					</tr>
					<tr>
						<td>
							发布人
						</td>
						<td colspan="3">
							${biotech.author }
						</td>
					</tr>
					<tr>
						<td>
							联系电话
						</td>
						<td colspan="3">
							${biotech.phone }
						</td>
					</tr>
					<tr>
						<td>
							联系地址
						</td>
						<td colspan="3">
							${biotech.address }
						</td>
					</tr>
					<tr>
						<td>
							要求时间
						</td>
						<td colspan="3">
							${biotech.needtime }
						</td>
					</tr>
					<tr>
						<td>
						    维修类型
						</td>
						<td colspan="3">
							${biotech.type }
						</td>
					</tr>
					<tr>
						<td>
							维修订单内容
						</td>
						<td colspan="3">
							${biotech.content }
						</td>
					</tr>
					<tr>
						<td>
							图片
						</td>
							<td colspan="3">
						<img alt="图片下载" src="${pageContext.request.contextPath}/${biotech.image_url }" width="100px" height="100px"/>
								
								</td>
					</tr>
						<tr>
						<td>
							指派维修人员
						</td>
						<td colspan="3">
							<select name="biotech.repairman">
							    <c:forEach var="user" items="${weixiulist}">  
                                <option value="${user.username}">  
                                ${user.name}|${user.type}
                                </option>  
                                </c:forEach>
							</select>
						</td>
					</tr>
						<tr>
						<td>
						   指定维修价格
						</td>
						<td colspan="3">
							<input name="biotech.price" value="${biotech.price }" type="text" />
						</td>
					</tr>
					
				</tbody>
				<tfoot>
					<tr>
						<td colspan="4">
								<input class="btn btn-inverse" id="find" type="submit"
									value="保存" />
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							<input class="btn btn-inverse" type="reset" value="取消" />
						</td>
					</tr>
				</tfoot>
			</table>
		</form>
	</body>
</html>